package com.bdqn.service;

import com.bdqn.pojo.Menu;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface MenuService {
    List<Menu> getUserMenus(int uid);

    PageInfo<Menu> selectPage(int pageNum, int pageSize, String name);

    int addMenu(Menu menu);

    List<Menu> selectAll();

    List<Menu> getMenusAll();
}
